package ObjectOriented;

/**
 * ClassName:GirlFriend_Test
 * Package:object_oriented
 * Description:
 *
 * @Author:ZhangXin
 * @Create2023/1/14-11:10
 * @Version:v1.0
 */
public class GirlFriend_Test {
    public static void main(String[] args) {
        GirlFriend p = new GirlFriend();
        p.setName("大傻逼");
        p.setAge(18);
        p.setGender("男");
        System.out.println(p.getName());
        System.out.println(p.getAge());
        System.out.println(p.getGender());

//        p.name = "大傻逼";
//        p.height = 165;
//        p.age = 18;
//        System.out.println("我叫" + p.name);
//        System.out.println("我的身高是" + p.height + "cm");
//        System.out.println("我的年龄是" + p.age);
        p.eat();
        p.sleep();
        System.out.println("========================");
    }
}
